package com.exam.teacher.mapper;

import com.exam.entity.LogTable;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OperateLogMapper {

    @Insert("insert into stulog_table (id, user_id, timestamp, ip_address, user_agent, request_params, method) " +
            "values (null, #{userId}, #{timestamp}, #{ipAddress}, #{userAgent}, #{requestParams}, #{method});")
    public void insertStudent(LogTable logTable);

}
